<?php

class User
{
    private $userID;
    private $firstName;
    private $lastName;
    private $birthday;
    private $username;
    private $password;
    private $email;
    private $phone;
    private $address;
    private $college;
    private $sex;
    private $oath_token;
    private $oath_id;
    private $oath_provider;
    private $oath_secret;

    //$weight = mysql_real_escape_string($weight);

    public function getID() { return $this->userID; }
    public function getFirstName() { return $this->firstName; }
    public function getLastName() { return $this->lastName; }
    public function getBirthday() { return $this->birthday; }
    public function getUsername() { return $this->username; }
    public function getPassword() { return $this->password; }
    public function getEmail() { return $this->email; }
    public function getAddress() { return $this->address; }
    public function getCollege() { return $this->college; }
    public function getPhone() { return $this->phone; }
    public function getSex() { return $this->sex; }
    public function getOath_token() { return $this->oath_token; }
    public function getOath_id() { return $this->oath_id; }
    public function getOath_provider() { return $this->oath_provider; }
    public function getOath_secret() { return $this->oath_secret; }

    public function setID($newID) { $this->userID = mysql_real_escape_string($newID); }
    public function setFName($newFirstName) { $this->firstName = mysql_real_escape_string($newFirstName); }
    public function setLName($newLastName) { $this->lastName = mysql_real_escape_string($newLastName); }
    public function setBirthday($newBirthday) { $this->birthday = mysql_real_escape_string($newBirthday); }
    public function setUsername($newUsername) { $this->username = mysql_real_escape_string($newUsername); }
    public function setPassword($newPass) { $this->password = mysql_real_escape_string($newPass); }
    public function setEmail($newEmail) { $this->email = mysql_real_escape_string($newEmail); }
    public function setPhone($newPhone) { $this->phone = mysql_real_escape_string($newPhone); }
    public function setAddress($newAddress) { $this->address = mysql_real_escape_string($newAddress); }
    public function setCollege($newCollege) { $this->college = mysql_real_escape_string($newCollege); }
    public function setSex($newSex) { $this->sex = mysql_real_escape_string($newSex); }
    public function setOath_token($newOath_token) {$this->oath_token = mysql_real_escape_string($newOath_token); }
    public function setOath_id($newOath_id) {$this->oath_id = mysql_real_escape_string($newOath_id); }
    public function setOath_provider($newOath_provider) {$this->oath_provider = mysql_real_escape_string($newOath_provider); }
    public function setOath_secret($newOath_secret) {$this->oath_secret = mysql_real_escape_string($newOath_secret); }
}

?>
